#ifndef ANIMATIONFILM_H
#define ANIMATIONFILM_H

#include "allegro5/allegro.h"
#include <vector>
#include "Rect.h"
#include "Point.h"

class AnimationFilm {
    std::vector<Rect> boxes;
    ALLEGRO_BITMAP *bitmap;
    std::string	id;
    public:
    byte GetTotalFrames (void) 	const;
    ALLEGRO_BITMAP *GetBitmap (void) const;
    const std::string GetId (void) const;
    const Rect GetFrameBox (byte frameNo) const;
    void DisplayFrame (const Point& at, byte frameNo, bool flip_h, bool flip_v) const;
    AnimationFilm (ALLEGRO_BITMAP *, const std::vector<Rect>, const std::string&);
};

#endif